<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <meta content="width=device-width, minimum-scale=1,initial-scale=1, maximum-scale=1, user-scalable=1" id="viewport" name="viewport" />
    <meta content="yes" name="apple-mobile-web-app-capable" />
    <meta content="black" name="apple-mobile-web-app-status-bar-style" />
    <meta content="telephone=no" name="format-detection" />
    <link type="text/css" rel="stylesheet" href="../../template/css/com/com.css" />
    <link type="text/css" rel="stylesheet" href="../../template/css/list/style.css" />

    <script src="../../template/js/jquery.js"></script>
    <script src="../../template/js/com/com.js"></script>
    <script src="../../template/js/com/template.js"></script>
    <script src="../../resource/my.js"></script>
    <script src="../../script/api.js"></script>
    <link rel="stylesheet" href="../../resource/weuimin.css" />
    <!-- <link rel="stylesheet" href="../../resource/example.css" /> -->

    <link rel="stylesheet" href="../../resource/jinsuistyle.css" />
    <style type="text/css">
        .weui-grid {
            width: 50%;
        }

        .weui-grid__icon {
            width: 150px;
            height: 150px;
        }

        .isnew {
            background: #FFFFFF url('../../template/images/xp4.png') no-repeat 100% 0px;
        }

        .weui-tabbar {
            position: fixed !important;
            bottom: 0;
            left: 0;
            right: 0;
        }

        .com-content-area {
            padding: 0px;
        }
    </style>
    <!-- <script language="javascript" src="http://count26.51yes.com/click.aspx?id=268836397&logo=12" charset="gb2312"></script> -->
    <script type="text/javascript">
        window.apiready = function() {
           if(api.systemType == "ios"){
			   document.getElementById("statusBar").style.background = "#298cb4";
			}
           $api.fixStatusBar( $api.dom('header') );
        }
    </script>
</head>

<body>
  <header id="statusBar">
    <div id="jsheader">
        <nav id="jsnav">
            <a id="jsleft" tapmode="" onclick="api.closeToWin({name: 'root'});">
                <span>主页</span>
            </a>
            <div id="jsmiddle">
                <strong id="jstitle">金穗采购</strong>
            </div>
            <a id="jsright">
                <span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
            </a>
        </nav>
    </div>
    </header>
    <div class="com-content">
        <div class="com-header-area" id="js-com-header-area">
            <!-- <a href="" class="com-header-logo"
				style="width:100%;color:#FFFFFF;text-align:center;font-size:20px;">金穗采购</a> -->
            <img src="../../image/jscg0.png" style="width:100%;" />
            <ul class="menu_ul">
                <a href="../../index.html" class="selected">
                    <li>首 页</li>
                </a>
                <a href="history.html">
                    <li>历 史 订 单</li>
                </a>
                <a href="bill.html">
                    <li>购 物 框</li>
                </a>
            </ul>
            <dfn></dfn>
            <div class="clear"></div>
        </div>

        <!-- 办公用品 -->
        <a class="weui-grid" onclick="bgyp()">
            <div class="weui-grid__icon">
                <img src="../../image/bgyp.png" alt="">
            </div>

        </a>

        <!-- 旅馆用品 -->
        <a class="weui-grid" onclick="lgyp()">
            <div class="weui-grid__icon">
                <img src="../../image/lgyp.png" alt="">
            </div>

        </a>

        <!-- 公共底部，必须引用 -->
        <div class="weui-tabbar">
            <div class="com-footer-area footer" id="js-com-footer" style="width:100%;">
                <img src="../../image/db.png" style="width:100%;" />
            </div>
        </div>
    </div>
</body>
<script>
    function menu(dm) {
        SetCookie(dm, dm);
        //window.location.href="menu.html?dm="+ dm;
        api.openWin({
            name: 'menu',
            url: 'menu1.html',
            pageParam: {
                dm: dm
            }
        });
    }

    function setClick(e, dm) {
        var note = e.parentNode.parentNode;
        if (getCookie(dm) != null) { //已经点击过的新品不要提示图标
            note.setAttribute("class", "weui-grid");
        }
    }

    //办公用品
    function bgyp() {

		api.openWin({
	        name: 'main',
			url: 'jscg.html',
	        
        });
    }

    //旅馆用品
    function lgyp() {
   
		api.openWin({
	        name: 'main1',
			url: 'jdyp.html',
	        
        });
    }
</script>

</html>
